package com.ken.apigateway.dao;

import com.ken.apigateway.pojo.FilterPath;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FilterPathMapper {
    int deleteByPrimaryKey(@Param("id") Integer id, @Param("version") Integer version);

    int logicDelete(@Param("id") Integer id, @Param("version") Integer version);

    int insertSelective(FilterPath filterPath);

    FilterPath selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FilterPath filterPath);

    List<FilterPath> selectFilterPathList(@Param("filterName") String filterName,@Param("rule") Integer rule);
}
